home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: Essential Home & Business / PC-SIG - Essential Home and Business Collection.iso / 08 / 3 / 4 / S.GTH < prev    next >
Text File  |  1986-10-20  |  7KB  |  116 lines

  1. [S]                        [STATISTICS] Command
  2.  
  3. Subcommands:
  4. Arith. Const. Inflation Lead/lag Moving-ave. Period Rate Smooth Trend
  5.  
  6. Introduction:
  7.  The statistics subcommands always operate on data held in memory 0 then write
  8.  the final result back to memory 0.  If the results are not required then
  9.  immediately press UNDO (Fn key 4) to restore memory 0 and the screen back to
  10.  its previous data values.  Some of the subcommands automatically produce a new
  11.  line graph of the results (e.g. Trend and Smooth).  Most of the others leave
  12.  results in memory 0 for subsequent graphing.
  13.  
  14. Arithmetic   [SAx]  (x = File or Sum)
  15.    File-calcs:  Enables calculation between memory 0 and another memory or
  16.                 disk file.  All matching X values are used in the calculations.
  17.                 The operands available are: + - * /
  18.                 e.g.s. SAF+SALES<RTN>     SAF*NEWRATE<RTN>   SAF-DISCOUNT<RTN>
  19.    Sum-mem-0:   Each succeeding data value is added to produce a cumulative
  20.                 data file in memory 0, starting at a specified date.
  21.                 e.g. SAS10/86<RTN>    (Sum data from Oct. 1986)
  22.  
  23. Constant    [SCxn]    (x = Fixed or Season. n = value or date)
  24.    Fixed-constant:  A constant may be used to modify the data in memory 0
  25.                     with the operators: + - * / and start at a specified date.
  26.                     (The default date is the start date.)
  27.                       e.g.  SCF+8<RTN> 5/86<RTN>    (Add 8 to all data values
  28.                            from May 1986.)
  29.    Season-adjust:   All matching X values in memory 0 will be multiplied by a
  30.                     set of seasonal factors held in a disk file.  This season
  31.                     file is created with the normal file create [FCD] command.
  32.                     The filename must start with "SEA" followed by a number in
  33.                     the range 0 - 9.  e.g.  SEA4
  34.                     (The Season file usually contains 12 monthly values.)
  35.                     The first date in the Season file must match the first date
  36.                     in the data file.
  37.                     e.g.  SCS2   This takes the factors in file "SEA2"
  38.                         and multiplies matching data values currently in mem 0.
  39.  
  40. Inflation  [SInd]   (n = % inflation.   d = starting date)
  41.     This command modifies the data in memory 0 with a specified inflation rate
  42.     from a specified date.  SI command is only valid with time series data.
  43.      Eg. SI11<RTN> 7/86<RTN>   Calculates the effect of 11% inflation from
  44.                                 July 1986.
  45.      If a date is not entered (press <RTN>) then the first date is the default.
  46.  
  47. Leadlag    [SLxn]   (x = leaD or laG     n = number of time periods)
  48.        leaD [SLDn]:  The starting point or date is moved forward to an earlier
  49.                     time by a specified number of time periods on the X axis.
  50.                     The data itself is not altered.
  51.                     Eg. SLD4<RTN>  (Move starting date forward 4 time periods)
  52.        laG [SLGn]:   The starting point or date is moved backward to a later
  53.                     time by a specified number of time periods on the X axis.
  54.                     The data itself is not altered.
  55.                     Eg. SLG3<RTN>  (Move starting date later 3 time periods.)
  56.  
  57. Moving-average [SMn]   (n = number of time periods)
  58.         This command takes the average of the specified (n) number of time
  59.       periods data.  The result is placed back in memory 0 and the moving-ave
  60.       line is graphed.
  61.  
  62. Period    [SPx]     (x = Month, Quarter, Year or Other)
  63.       This forces time-series data in memory 0 to be converted to Monthly,
  64.       Quarterly or Yearly data.
  65.       For example, if the original file contained monthly data
  66.       and the command SPQ is given, each calendar three months will be summed
  67.       to give quarterly data.
  68.       In converting quarterly data to monthly, each data value is divided
  69.       by three to give "average" monthly figures.
  70.              Egs. SPM  SPQ  SPY
  71.         If "Other" is selected then any data can be grouped by any number from
  72.        2 up to the maximum number of points.  In addition, the data points in
  73.        each group can either be totalled or averaged.
  74.   e.g. SPO4<RTN>T  will total each group of 4 data points to produce a new
  75.                    data point in memory 0.
  76.   e.g. SPO3<RTN>A  will average each group of 3 data points to produce a new
  77.                    data point in memory 0.
  78.  
  79. Rate    [SRx]   (x = Actual or Percentage)
  80.      This computes the rate of change of the data from each  X-axis period to
  81.      the next. (The data is differentiated.) The results are placed in memory 0
  82.      As the scale on the Y-axis is likely to be altered, the scales are auto-
  83.      matically recalculated and the rate-of-change line is graphed 
  84.      after the screen is cleared.   e.g.s   SRP or SRA
  85.  
  86. Smooth  [SSxn]  (x = Normal, Double or Triple.    n = smoothing factor)
  87.      Data values varying rapidly over a short range can often obscure the
  88.      long term direction.  The smooth command produces a curve following the 
  89.      general direction of the values.  The smoothing factor can be in the
  90.      range: 0.01 (extreme smoothing) to .99 (almost no smoothing).  By using
  91.      the UNDO key, you can experiment with different smoothing factors until
  92.      the required result is obtained.  Note that the smoothed data values
  93.      are written to memory 0.  Double and Triple smoothing options produce
  94.      slightly different smooth curves which may better fit different patterns
  95.      of unsmoothed data.
  96.      e.g. SSN .3<RTN>    (Normal smoothing with a .3 factor.)
  97.      (A smoothing factor >1 will produce a graph with larger deviation
  98.       than the original.  This could be used to highlight small changes.)
  99.  
  100. Trend   [STxn]  (x = Normal, Logarithmic or Exponential.   n = starting date)
  101.     Normal Trend [STNn]:  A straight line is derived from the data points
  102.         and graphed as a linear least-squares trend.
  103.     Logarithmic Trend [STLn]: Computes a logarithmic curve-fit trend line. A
  104.          log curve rises steeply at first with gradually decreasing slope.
  105.     Exponential Trend [STEn]: Computes an exponential-fit trend line.  (Avoid
  106.          zero or negative values.)
  107.      The starting date is optional and can be used to show short-term trends.
  108.      To produce more accurate trend curve-fitting, the original data can be
  109.      modified with a constant before calculating the trend.
  110.      A trend line could be further modified with a Seasonal-factor file to 
  111.      show likely actual values. (e.g. projected sales.)
  112.  
  113.      e.g. STN 7/87<RTN>   (Calculate straight-line trend from July 1987.)
  114. October 22, 1986
  115.  
  116.